<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
    <script src="./jquery/jquery.js"></script>
    <script src="./js/09.js"></script>
</head>
<body>
    <input type="button" value="为列表添加子元素" onclick="addChild()">
    <ul id="ul1Dom">
        <li>默认元素</li>
    </ul>
    <hr>
    <input type="button" value="为指定元素添加关联元素" onclick="addItem()">
    <ul id="ul2Dom">
        <li>默认元素1</li>
        <li>默认元素2</li>
        <li>默认元素3</li>
    </ul>
</body>
</html>